﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoBackupDatabase.DAL;
using AutoBackupDatabase.ENT;
using System.Data;
namespace AutoBackupDatabase.BLL
{
    public class ROLEBLL
    {
         private ROLEDAL ROLEDAL;
       public ROLEBLL()
       {
           ROLEDAL = new ROLEDAL();
       }

       public List<ROLEENT> GET_ROLE_ALL()
       {
           return ROLEDAL.GET_ROLE_ALL();

       }
       public List<ROLEENT> GET_ROLE_PERMITSION(GROUPUSERENT ent)
       {
           return ROLEDAL.GET_ROLE_PERMITSION(ent);

       }
       public bool INSERTROLE(ROLEENT ent)
       {

           return ROLEDAL.INSERTROLE(ent);

       }
       public bool UPDATEROLEBYROLEID(ROLEENT ent)
       {

           return ROLEDAL.UPDATEROLEBYROLEID(ent);

       }
       public bool DELTELEROLEBYROLEID(ROLEENT ent)
       {

           return ROLEDAL.DELTELEROLEBYROLEID(ent);

       }
    }
}
